package com.tio.helloworldclient.controller;

import com.tio.helloworldclient.client.HelloClientStarter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("client")
public class MsgController {

    @GetMapping("/send")
    public String send() {
        HelloClientStarter.send("服务端你好哇");
        return "send ok";
    }
}
